package com.primus.server.entity.user;

import com.primus.server.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.OneToOne;
import java.util.Date;

@Entity
@Getter
@Setter
public class Reply extends BaseEntity {

    private String content;

    private Date createdDate;

    @OneToOne
    private User owner;

    @OneToOne
    private User receiver;
}
